<template>
<div>
  <van-tabbar v-model="active" route>
  <van-tabbar-item icon="home-o" replace to="/home">首页</van-tabbar-item>
  <van-tabbar-item icon="records" replace to="/resolve" >模拟测试</van-tabbar-item>
  <!-- <van-tabbar-item icon="comment-o" replace to="/news" >消息</van-tabbar-item> -->
  <van-tabbar-item icon="user-o" replace to="/profile">我的</van-tabbar-item>
  </van-tabbar>
</div>
  
</template>
<script>

import Vue from 'vue';
import { Tabbar, TabbarItem } from 'vant';

Vue.use(Tabbar);
Vue.use(TabbarItem);



export default {
  name: 'MainTabBar',
  data() {
    return {
      active: 0,
    };
  },
  
}
</script>